package com.itcam.lease.web.admin.mapper;

import com.itcam.lease.model.entity.ApartmentInfo;
import com.itcam.lease.model.enums.LeaseStatus;
import com.itcam.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.itcam.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {

    /**
     * 根据条件分页查询公寓列表
     * @param page
     * @param queryVo
     * @return
     */
    IPage<ApartmentItemVo> pageApartmentItemByQuery(IPage<ApartmentItemVo> page, ApartmentQueryVo queryVo);
}




